//
//  UIImage+SnapShot.h
//  Perking
//
//  Created by longmin on 16/7/11.
//  Copyright © 2016年 tim. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (SnapShot)

/** 自定义截取屏幕指定范围 */
+ (instancetype)screenShotWithView:(UIView *)view forRect:(CGRect)rect;

/** 把UIView转换成UIImage */
+ (instancetype)imageWithSnapShotView:(UIView *)view;

@end
